package top.burning.confidant.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.burning.confidant.mapper.UserMapper;
import top.burning.confidant.model.pojo.User;
import top.burning.confidant.service.UserService;

/**
 * userService
 * @author tell
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User selectUser(Integer userId){
        return userMapper.selectUserId(userId);
    }


}